package com.fzj.example.design.observer;

public class ConcreteSubject extends Subject {

    @Override
    public void notifyObserver() {
        System.out.println("to do");
        for(Observer observer: list){
            observer.response();
        }
    }
}
